from distutils.core import setup  
import py2exe  
 

options = {"py2exe":  
            {   
            	"includes":["sip"],
            	"compressed": 1,     
                "optimize": 2         
            }     
          }

setup(console=["main.py"], options=options)